<?php


namespace app\cms\model\admin;


use app\cms\community\lib\QueryModel;
use think\model\relation\HasOne;

class adminNavGroupModel extends QueryModel
{
    protected $table = "admin_nav_group_table";

    /**
     * 关联导航栏目表
     * @return HasOne
     */
    public function hasAdminNavModel(): HasOne
    {
        return $this->hasOne(adminNavModel::class, 'nav_group_id', 'nav_group_id');
    }
}